USE [BMIG_MENSUAL_POST_CADENA]
GO

IF EXISTS (SELECT name FROM sysobjects WHERE name = N'WASP_M0008_BORRATB_ANULADOS_BASE' AND type = 'P')
  DROP PROCEDURE WASP_M0008_BORRATB_ANULADOS_BASE
  
GO
CREATE PROCEDURE WASP_M0008_BORRATB_ANULADOS_BASE
AS

IF EXISTS (select * from dbo.sysobjects where id = object_id(N'[dbo].[ANULADOS_BASE]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
  DROP TABLE [dbo].[ANULADOS_BASE]
  
GO
